package com.maple.valid.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@Accessors(chain = true)
public class RelationAddVo {

    @NotBlank(message = "源id不能为空")
    private String fromId;

    @NotEmpty(message = "目标id列表不能为空")
    private List<String> targetIdList;

}
